package ru.paswd.marketprice.rest.app.repositories;

import org.springframework.data.repository.PagingAndSortingRepository;
import ru.paswd.marketprice.rest.app.entity.Shop;

import java.util.Optional;
import java.util.UUID;

public interface ShopsRepository extends PagingAndSortingRepository<Shop, UUID> {
    Optional<Shop> findByNameAndAddress(String name, String address);
}
